import { request } from "@/utils/request";
// 获取频道列表接口
export const cctvAPI = () => {
    return request.get('/channels')
}
// 新增文章接口
export const addArticleAPI = (data) => {
    return request.post('/mp/articles?draft=false', data)
}

// 获取文章列表
export const getArticleListAPI = (reqData) => {
    return request.get('/mp/articles', {
        params: reqData
    })
}